<?php

namespace Block\Model;


class CoinList extends BaseModel
{
    //表名
    protected $table='coin_list';
    protected $keyType = 'string';


    public function lang()
    {
        return $this->hasMany('Block\Model\CoinDetails','coin_id','key_id');
    }

    public function extend()
    {
        return $this->hasMany('Block\Model\CoinExtend','coin_id','key_id');
    }


}
